const routes = [
  {
    path: '/home',
    component: () => import('@/views/home/Home.vue')
  },
  // {
  //   path: '/center',
  //   component: () => import('../views/center/Center.vue')
  // },
  // {
  //   path: '/user-manage/userAdd',
  //   component: () => import('../views/user-manage/UserAdd.vue'),
  //   requireAdmin: true
  // },
  // {
  //   path: '/user-manage/userList',
  //   component: () => import('../views/user-manage/UserList.vue'),
  //   requireAdmin: true
  // },
  // {
  //   path: '/news-manage/newsAdd',
  //   component: () => import('../views/news-manage/NewsAdd.vue')
  // },
  // {
  //   path: '/news-manage/editNews/:id',
  //   component: () => import('../views/news-manage/NewsEdit.vue')
  // },
  // {
  //   path: '/news-manage/newsList',
  //   component: () => import('../views/news-manage/NewsList.vue')
  // },
  // {
  //   path: '/product-manage/productAdd',
  //   component: () => import('../views/product-manage/ProductAdd.vue')
  // },
  // {
  //   path: '/product-manage/editProduct/:id',
  //   component: () => import('../views/product-manage/ProductEdit.vue')
  // },
  // {
  //   path: '/product-manage/productList',
  //   component: () => import('../views/product-manage/ProductList.vue')
  // },
  {
    path: '/',
    component: () => import('../views/Login.vue'),
    redirect: '/login'
  },
  {
    path: '/:pathMatch(.*)*',
    // component: () => import('../views/home/Home.vue')
    name: 'NotFound 404',
    component: () => import('../views/notfound/NotFount.vue')
  },
]


export default routes